@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './publicIndex.scss';
@import './notebook.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}
ul li{
    list-style-type: none;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

/*颜色 大小  间距*/
.color-444{
	color:#444;
}
.color-primary{
	color:$--color-primary;
	cursor: pointer;
}
.color-999{
	color:#999;
}
.font-size-12{
	font-size:12px;
}
.font-size-13{
	font-size:13px;
}
.font-size-14{
	font-size:14px;
}
.font-size-15{
	font-size:15px;
}
.font-size-16{
	font-size:16px;
}
.font-size-17{
	font-size:17px;
}
.font-size-18{
	font-size:18px;
}
.margin-left-5{
	margin-left:5px;
}
.margin-left-10{
	margin-left:10px;
}
.margin-left-15{
	margin-left:15px;
}

.margin-right-5{
	margin-right:5px;
}
.margin-right-10{
	margin-right:10px;
}
.margin-right-15{
	margin-right:15px;
}


.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
#app .table .el-button--text{
	padding:0px!important;
}
  
#app .el-container.index-box /deep/ .index-box{
	background: #fff;
	padding:20px;
}

.role-span{
	font-weight: 700;
	color: #303133;
	font-size: 15px;
}
.flex1{
  flex:1
}
.myCard{
	.title{
		font-weight: 700;
		color: #303133;
		font-size: 15px;
		display: inline-block;
		float: left;
		height:28px;
		line-height:28px;
	}
	.btn{
		display: inline-block;
		float: right;
	}
}
code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content {
  background: rgba(66, 185, 131, .1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;

  a {
    color: #42b983;
    font-weight: 600;
  }
}
.index-box>.activeBox{
	margin-bottom: 15px;
}
//头部进度条颜色
#nprogress .bar {
	background: #61997A!important;
}
.ellipsis-item{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.ellipsis-item2{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ellipsis-item3{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.goodsBox{
    display: flex;
    .img{margin-right:8px}
    .goodsName{margin-bottom: 13px;flex:1}
}

//main-container全局样式
.index-box .page{
	height:52px;
}
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}


.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}



.d-flex {
	display: flex !important;
}
.d-block{
	display: block !important;
}
.d-inline{
	display: inline-block !important;
}
.d-none {
	display: none !important;
}

/* 弹出布局 */
.align-center{
	align-items: center !important;
}
.justify-center {
	justify-content: center !important;
}
.flex-column{
	flex-direction: column !important;
}
.flex-wrap{
	flex-wrap: wrap !important;
}
.flex-nowrap{
	flex-wrap: nowrap !important;
}
.flex-between {
	justify-content: space-between !important;
}
.flex-grow1{
	flex-grow: 1
}

.red{
	color:#FF2F43;
}




/*公共参数*/
.el-main .index-box{
	background-color: #fff;
	padding:15px;
}

.search>.el-form>.el-form-item{
	margin-bottom: 15px!important;
	.el-form-item__content .el-form-item{
		margin-bottom: 0px;
		margin-right: 0px;
	}
	.el-date-editor{
		height:33px;
	}
}
.search .el-input,.search .el-select{
	width:170px!important;
}
.search #searchBox{
	display: flex;
	flex-wrap: wrap;
}

.search .el-date-editor{
	width:250px;
}
.search .el-date-editor .el-range-separator{
	width:15%;
}
.search .vue-treeselect__control{
	height:32px;
	width:180px;
}

.actionBtn{
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}


/*修改dialog 弹出窗的样式*/

body .el-dialog__wrapper .el-dialog .el-dialog__header {
    border-bottom: 1px solid #ddd;
    padding: 0 24px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
body .el-dialog__wrapper .el-dialog .el-dialog__header .el-dialog__title {
    font-size: 16px;
    color: #000;
}
body .el-dialog__wrapper .el-dialog .el-dialog__body{
	padding: 16px 24px;
	color: #333;
	font-size: 16px;
}

body .el-dialog__wrapper .el-dialog__footer{
	background-color: #fafafa;
	padding: 8px 24px;
}
.dialog /deep/ .el-dialog__body{
	overflow-y: scroll;
	height: calc(100% - (50px + 62px));
}


/*修改dialog 弹出窗 内部 输入框 下拉框等样式*/

.formDialog{
	display: flex;
	flex-wrap: wrap;
}
.formDialog>.el-form-item{
	width:50%;
	.el-select{
		width:100%;
	}
}

/*修改el-switch 字体大小*/
.el-switch .el-switch__label--left{
	margin-right:5px;
}
.el-switch .el-switch__label--right{
	margin-left:5px;
}

/*左边树结构*/
.index-box .tree-box{
	height: 100%;
	overflow-y: auto;
}
.leftBox{
    width:220px;
    background: #D8E4DD;
    height:100%;
    overflow-y: auto;
	transition:.3s all;
    .el-tree-node{
      padding:0px!important;
    }
    .tree-box{
        padding:15px 10px;
    }  
}
.rightBox{
    flex:1;
    width:0px;
    padding:15px;
}

/*修改table*/
// .table thead .cell{
// 	color: #444;
// 	font-weight: 500;
// 	height:34px;
// 	line-height:34px;
// }
// .table thead th{
// 	padding:3px 0!important;
// 	background: #F1F5F2!important;
// }
// .table .el-table__body-wrapper .el-table__cell{
// 	border-right: none!important;
// }
.table .img{
	border: 1px solid #e6e6e6;
	width: 60px;
	height: 60px;
	cursor: pointer;
}
// .table .img .el-image{
// 	width: 100%;
// 	 height: 100%;
// }
// .activeBox>span{
// 	color:#3A7654;
// 	cursor: pointer;
// 	margin-right:20px;
// 	font-size: 14px;
	
// }
// .activeBox>span:hover{
// 	color:#81ad95;
// }
// .table .activeBox .el-button{padding:0px;}
// .table .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
//     background: #F1F5F2;
// }
// ::-webkit-scrollbar-track-piece { //滚动条凹槽的颜色，还可以设置边框属性
// background-color:#f8f8f8;
// }
// ::-webkit-scrollbar {//滚动条的宽度
// width:9px;
// height:9px;
// }
// ::-webkit-scrollbar-thumb {//滚动条的设置
// background-color:#dddddd;
// background-clip:padding-box;
// min-height:28px;
// }
// ::-webkit-scrollbar-thumb:hover {
// background-color:#bbb;
// }

// .top-right-btn{
// 	float:right;
// 	padding-right:5px;
// }
// .el-table .el-table__row>td{
// 	border:0px!important;
// }
/*报表统计 头部金额*/

.moneyTotal{
    display:flex;
    margin-bottom: 15px;
    .item{
      border:1px solid #F1F1F1;
      flex:1;
      text-align: center;
      padding:30px 0 8px 0;
      .money{
        color:#333333;
        font-size: 16px;
        padding-bottom: 10px;
        font-weight: bold;
      }
      .text{
        color:#333333;
        font-size: 15px;
      }
    }
  }
.verticalBtn{
	display:flex;
	flex-wrap:wrap;
}
.verticalBtn .el-button{/*竖 着的table里面按钮*/
	margin-left:0px!important;
	width:100%;
	margin-bottom: 3px;
}
.verticalBtn .el-dropdown{/*竖 着的table里面按钮*/
	margin:auto;
	color:#61997A;
	cursor: pointer;
}

.backBox .back{
	cursor: pointer;
	color:#606266;
	display: flex;
	align-items: center;
	i{
	  color:#3A7654;
	  margin-right:6px;
	  font-size:18px;
	  font-weight:bold;
	}
}